#@front_layout()
	
#define css()
	
#end

#define main()
<div class="container">
	<div class="center">
		账号：<input type="text" autocomplete="off" autofocus="autofocus" name="authUser.username" id="username"><br>
		密码：<input type="password" autocomplete="off" name="authUser.password" id="password"><br>
		<span id="exception" class="red t-left"></span><br>
		<input type="button" id="loginBtn" onclick="login('#(lastPath)')" value="登录">
	</div>
</div>
#end

#define js()
<script>
	$("body").keypress(function(event){
		var key = event.which;
		if(key == "13"){
			$("#loginBtn").click();
		}
	});
</script>
#end